package com.qingdai.business.emuns;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author LiuZiMing
 * @since 2024-01-26
 */
@Data
@AllArgsConstructor
@TableName("user__role_permission")
@Schema(description = "角色权限对应")
public class RolePermission implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("role_id")
    @Schema(description = "角色id")
    private Integer roleId;

    @TableField("permission_id")
    @Schema(description = "权限id")
    private Integer permissionId;
}
